package com.medsoft.drpcp.server;

import org.springframework.stereotype.Service;

import com.medsoft.drpcp.api.DemoDrpcpService;
import com.medsoft.drpcp.api.DemoQuery;
import com.medsoft.drpcp.api.DemoReq;
import com.medsoft.drpcp.api.DemoResp;

@Service
public class DemoDrpcpServiceImpl implements DemoDrpcpService {

	@Override
	public DemoResp opDrpcpService(DemoReq req) {
		System.out.println("接收到drpcp调用请求: " + req.getDrpcpVersion());
		return new DemoResp();
	}

	@Override
	public DemoQuery queryDrpcpService(DemoQuery req) {
		System.out.println("接收到drpcp调用请求: " + req.getDrpcpVersion());
		return new DemoQuery();
	}

}
